#ifndef _VN_SFML_CAMERA_H_
#define _VN_SFML_CAMERA_H_

#include "Camera.h"
#include "SFML\Graphics.hpp"

class SFML2DRenderEngine;
namespace vn
{
	class SFMLCamera : public vn::Camera
	{
	public:
		SFMLCamera(sf::View*);
		virtual ~SFMLCamera(void);

		friend class SFML2DRenderEngine;
		
		virtual void zoom(float p_zoom) { m_view->zoom(p_zoom); }
		virtual void setRotation(float p_rotation) { m_view->setRotation(p_rotation); }

	protected:
		
		virtual void update();
		sf::View* m_view;
	};
}

#endif // _VN_SFML_CAMERA_H_